﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="adm_usercareer.aspx.cs" Inherits="adm_usercareer" Title="Untitled Page" %>
<%@ Register src="UserControls/AdminMenuLeft.ascx" tagname="AdminMenuLeft" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
	<div class="adm-wrap">
		<h3>Author Type</h3>
		<div class="catgroup">
			<p class="hi"><asp:Label ID="lblGretting" Text="Hi admin Khuong luu" runat="server"></asp:Label></p>
			<p class="hi"><asp:Label ID="lblAlert" runat="server" style="border:solid 1px Gray;padding:3px" Text="aaaaaaaaa" Visible="false"></asp:Label></p>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
                <tr>
                    <td class="clstitle2" style="width:260px">AuthorType Name (VietNamese)</td>
                    <td>
                    	<asp:TextBox id="txtBrandVN" Cssclass="full" runat="server" Width="170px"/>
                    </td>   
                    <td style="width:80px">
                    	<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtBrandVN" ErrorMessage="VN content"></asp:RequiredFieldValidator>
                    </td>   
                </tr>
                <tr>
                    <td class="clstitle2">AuthorType Name (English)</td>
                    <td>
                    	<asp:TextBox id="txtBrandEN" Cssclass="full" runat="server" Width="170px"/>
                    </td>
                    <td>
                    	<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtBrandEN" ErrorMessage="EN content"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>
                        <asp:Button Cssclass="submitbutton" ID="btnSubmit" Text="Add New" 
                            runat="server" Width="80px" onclick="btnSubmit_Click" />
                        <asp:Button Cssclass="submitbutton" ID="btnUpdate" Text="Update" 
                            runat="server" Width="80px" Visible="false" onclick="btnUpdate_Click"/>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
            <hr />
			<div class="sort">
			    <ul>
			    <li class='<%= GetActiveClassAll()%>'><a href='<%= _CreateLinkforAll()%>'>All</a></li>
			    <asp:Repeater ID="rptAlphabetSearch" runat="server">
			        <ItemTemplate>
			            <li class='<%# GetActiveClass(Eval("Name").ToString())%>'><a href='adm_usercareer.aspx?ckid=<%# ckid %>&fn=<%# Eval("Name") %>'><%# Eval("Name") %></a></li>
			        </ItemTemplate>
			    </asp:Repeater>
			    </ul>
			</div>
			
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr class="first">
                    <td>Author Type Name VN</td>
                    <td>Author Type Name EN</td>
                    <td>Action</td>   
                </tr>
                <asp:Repeater ID="rptAuthorType" runat="server">
                    <ItemTemplate>
                        <tr class="second">
                            <td><%# Eval("CarNameVN")%></td>
                            <td><%# Eval("CarNameEN")%></td>
                            <td><%# _CreateLinkEditAndDelete(Int32.Parse(Eval("CarID").ToString()))%></td>
                        </tr>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <tr class="second_se">
                            <td><%# Eval("CarNameVN")%></td>
                            <td><%# Eval("CarNameEN")%></td>
                            <td><%# _CreateLinkEditAndDelete(Int32.Parse(Eval("CarID").ToString()))%></td>
                        </tr>
                    </AlternatingItemTemplate>
                </asp:Repeater>
            </table>
		</div>
	</div>
	<div class="clear"></div>
  <!--//Content-->
</asp:Content>

